import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/plugins/vant.js'

// 导入 axios
import axios from 'axios'

// 设置基准地址
axios.defaults.baseURL = 'http://www.liulongbin.top:3005/'

// 把axios挂载到Vue的原型上
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
